{include file="public:_meta,public:_header,public:_menu" /}

<div class="dislpayArrow hidden-xs" style="display: none;">
    <a class="pngfix" href="javascript:void(0);" onClick="displaynavbar(this)"></a>
</div>

<section class="Hui-article-box">
    <div id="Hui-tabNav" class="Hui-tabNav hidden-xs">
        <div class="Hui-tabNav-wp">
            <ul id="min_title_list" class="acrossTab cl">
                <li class="active">
                    <span title="我的桌面" data-href="welcome.html">我的桌面</span>
                    <em></em>
                </li>
            </ul>
        </div>

        <div class="Hui-tabNav-more btn-group">
            <a id="js-tabNav-prev" class="btn radius radius btn-default size-S" href="javascript:;">
                <i class="Hui-iconfont">&#xe6d4;</i>
            </a>

            <a id="js-tabNav-next" class="btn radius radius btn-default size-S" href="javascript:;">
                <i class="Hui-iconfont">&#xe6d7;</i>
            </a>
        </div>
    </div>

    <div id="iframe_box" class="Hui-article">
        <div class="show_iframe">
            <div style="display:none" class="loading"></div>
            <iframe scrolling="yes" frameborder="0" src="{:url('index/welcome')}"></iframe>
        </div>
    </div>
</section>

<div class="contextMenu" id="Huiadminmenu">
    <ul>
        <li id="closethis">关闭当前</li>
        <li id="closeall">关闭全部</li>
    </ul>
</div>
<script>

    function logout() {
        layer.confirm('您确定要退出登录？', {title: '登出提醒'}, function (index) {
            location.href = '{:\\think\\Url::build("Pub/login")}'
        })
    }

    function autolang(obj) {
        if ($(obj).hasClass('off')){
            $(obj).html("自动语言(开)");
            $(obj).removeClass('off').addClass('on');
            url = "{:url('Index/autolang',array('value'=>'on'))}";
        } else {
            $(obj).removeClass('on').addClass('off');
            $(obj).html("自动语言(关)");
            url = "{:url('Index/autolang',array('value'=>'off'))}";
        }

        $.post(url, function (res) {
            // window.location.reload();
        }, 'json')
    }

    function cleanCache() {
        layer.confirm('您确定要清理缓存？', {title: '清理缓存'}, function (index) {
            $.post("{:url('Index/cleanCache')}", function (res) {
                window.location.reload();

//                if(res.status==1){
//                    layer.alert(res.msg,function (index) {
//                        window.location.reload();
//                        layer.close(index);
//                    })
//                }else{
//                    layer.alert(res.msg)
//                }
            })
        })
    }
</script>
{include file="public:_footer"}
